package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.GridMaintainLogDao;
import io.wdb.modules.generator.generator.entity.GridMaintainLogEntity;
import io.wdb.modules.generator.generator.service.GridMaintainLogService;



@Service("gridMaintainLogService")
public class GridMaintainLogServiceImpl implements GridMaintainLogService {
	@Autowired
	private GridMaintainLogDao gridMaintainLogDao;
	
	@Override
	public GridMaintainLogEntity queryObject(Long id){
		return gridMaintainLogDao.queryObject(id);
	}
	
	@Override
	public List<GridMaintainLogEntity> queryList(Map<String, Object> map){
		return gridMaintainLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return gridMaintainLogDao.queryTotal(map);
	}
	
	@Override
	public void save(GridMaintainLogEntity gridMaintainLog){
		gridMaintainLogDao.save(gridMaintainLog);
	}
	
	@Override
	public void update(GridMaintainLogEntity gridMaintainLog){
		gridMaintainLogDao.update(gridMaintainLog);
	}
	
	@Override
	public void delete(Long id){
		gridMaintainLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		gridMaintainLogDao.deleteBatch(ids);
	}
	
}
